package com.thingsgrid.device.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

@Data
@Document(collection = "icon")
public class Icon implements Serializable{
	/**
	 * 图标ID
	 */
	@Field("icon_id")
	private String iconId;

	/**
	 * 图标地址
	 */
	@Field("icon_address")
	private String iconAddress;

	/**
	 * 图标类型
	 */
	@Field("icon_type")
	private String iconType;

	/**
	 *创建日期
	 */
	@Field("create_time")
	private String createTime;
}
